# eric7.Preferences.ViewProfileDialog

Module implementing a dialog to configure the various view profiles.

### Global Attributes

None

### Classes

ViewProfileDialog | Class implementing a dialog to configure the various view profiles.

### Functions

None

## ViewProfileDialog

Class implementing a dialog to configure the various view profiles.

### Derived from

QDialog

### Class Attributes

None

### Class Methods

None

### Methods

ViewProfileDialog | Constructor
getVisibilities | Public method to retrieve the visibilities configuration.

### Static Methods

None

#### ViewProfileDialog (Constructor)

ViewProfileDialog(layout, editVisibilities, debugVisibilities, parent=None)

Constructor

layout (str)
  type of the window layout
editVisibilities (list of bool)
  list of flags giving the visibilities of the various parts for the 'edit' view profile
debugVisibilities (list of bool)
  list of flags giving the visibilities of the various parts for the 'debug' view profile
parent (QWidget)
  parent widget of this dialog

Raises ValueError:
  raised to indicate an invalid layout

#### ViewProfileDialog.getVisibilities

getVisibilities()

Public method to retrieve the visibilities configuration.

Return:
  tuple of two lists giving the visibilities of the various parts

Return Type:
  list

Up